package com.atguigu.mvc.handler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class TargetHandler {

    Logger logger = LoggerFactory.getLogger(this.getClass());

    @RequestMapping("/common/request/one")
    public String one() {

        logger.debug("[handler 方法内部]普通请求01");

        return "target";
    }

    @RequestMapping("/common/request/two")
    public String two() {

        logger.debug("[handler 方法内部]普通请求02");

        return "target";
    }

    @RequestMapping("/common/request/three")
    public String three() {

        logger.debug("[handler 方法内部]普通请求03");

        return "target";
    }

    @RequestMapping("/common/request/four")
    public String four() {

        logger.debug("[handler 方法内部]普通请求04");

        return "target";
    }

    @RequestMapping("/common/request/four/aaa")
    public String fourAAA() {

        logger.debug("[handler 方法内部]普通请求04[/aaa]");

        return "target";
    }

    @RequestMapping("/common/request/four/aaa/bbb")
    public String fourAAABBB() {

        logger.debug("[handler 方法内部]普通请求04[/aaa/bbb]");

        return "target";
    }

    @RequestMapping("/common/request/four/aaa/bbb/ccc")
    public String fourAAABBBCCC() {

        logger.debug("[handler 方法内部]普通请求04[/aaa/bbb/ccc]");

        return "target";
    }

}
